package com.oa.jixiao.biz;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.oa.jixiao.dao.AttendanceMapper;
import com.oa.jixiao.entity.Attendance;
import com.oa.jixiao.entity.EmpVO;

@Service
public class AttendanceBiz {
	@Resource
	private AttendanceMapper atd;
	
	public int insert(Attendance record){
		return atd.insertSelective(record);
	}
	
	public int update(Attendance record){
		return atd.update(record);
	}
	
	public int find(Attendance record){
		return atd.find(record);
	}
	
	public List<Attendance> findAllByTiME(EmpVO empVo){
		return atd.findAllByTiME(empVo);
	}
	
	public List<Attendance> findAllByTiMEAndNum(EmpVO empVo){
		return atd.findAllByTiMEAndNum(empVo);
	}
}
